<?php

/*MongoDB配置文件*/

use function Hyperf\Support\env;

return [
    'mongodb_uri' => "mongodb://"
        . env("MONGODB_USERNAME", 'seeklove')
        . ":" . env("MONGODB_PASSWORD", '')
        . "@" . env("MONGODB_HOSTNAME", '127.0.0.1')
        . ":" . env("MONGODB_PORT", '27017')
        . "/" . env("MONGODB_DBNAME", 'seeklove'), //服务器地址
    'mongodb_name' => env("MONGODB_DBNAME", 'seeklove'), // 数据库名
];